home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / mawk10.zip / INSTALL < prev    next >
Text File  |  1991-10-05  |  2KB  |  54 lines

  1.  
  2. how to install mawk on Unix like OS
  3. --------------------
  4.  
  5. STEP 0:  Read the file UCONFIG.  If your system is there or
  6. something close enough you only need run
  7.  
  8.        build_mawk  [CC=your_cc]   your_system
  9.  
  10.  
  11. else
  12.  
  13.  
  14. how to install on a new system
  15. ------------------------------
  16.  
  17. STEP 1:
  18. You need to link or copy a .h file in mawk/config, that describes your 
  19. configuration, to the mawk directory and name it config.h.  
  20.  
  21. First look at the file mawk/config/generic.h.  This file describes the 
  22. most common situations.  If it describes your machine and system, then 
  23. use it.  If not, you need to make a .h for your system.  You only need 
  24. to make defines that describe how you differ from the description in 
  25. generic.h.  The other .h's in config should serve as sufficient 
  26. examples.  Also look at template.h 
  27.  
  28. STEP2:
  29. In the mawk directory, examine the Makefile and set the user settable 
  30. macros as appropriate.  In most cases this will mean using the default.
  31.  
  32. STEP3:
  33. Run make.  If mawk successfully compiles, two tests will be run on mawk.
  34. The first, in the shell script test/mawk_test, will see if mawk is 
  35. running correctly under normal conditions and the second, test/fpe_test,
  36. will produce floating point exceptions to see if mawk handles things 
  37. like division by zero correctly.  
  38.  
  39. Failing the first test probably means your source files are corrupted.  
  40. Failing the second means adjustments need to be made to floating point 
  41. definitions in your config.h.  
  42.  
  43.  
  44. If you make a new config.h or add a new machine to an existing config.h,
  45. send me the new or cdiffs for the old.  If things just won't work, send 
  46. me the config.h and the error messages and I'll try to figure out what's
  47. wrong.  
  48.  
  49. Mike Brennan
  50. brennan@boeing.com
  51. 24048 146 PL SE
  52. Kent WA 98042
  53.  
  54.